<?php

use Illuminate\Database\Seeder;
use App\Message;

class MessagesTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        //
        DB::table('messages')->delete();
        Message::create([
            'id'=>'1',
            'user_id'=>'1',
            'title'=>'测试标题',
            'content'=>'测试内容',
            'category'=>'1',
        ]);
    }
}
